package io.renren.sf.dao;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.renren.sf.entity.CbExpandResourceEntity;
import io.renren.sf.vo.ChapterVo;
import io.renren.sf.vo.ExpandResouceVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface ExpandResouceVoDao {

    Page<ExpandResouceVo> getExpandResource(IPage<ExpandResouceVo> page,
                                            @Param(Constants.WRAPPER) Wrapper<ExpandResouceVo> queryWrapper);

    Long getExpandResourceTotal(@Param(Constants.WRAPPER) Wrapper<ExpandResouceVo> queryWrapper);

}
